package com.snake.springboot.custom.dao.mybatis.mappers.base;

import com.snake.springboot.custom.dao.mybatis.entity.base.CustCountDO;
import com.snake.springboot.custom.dao.mybatis.entity.base.CustRoleDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商户角色Mapper
 * 类{@code CustRoleMapper} </br>
 * 创建时间：2025/02/08 09:36
 * @author yangxt
 * @see
 */
@Mapper
public interface CustRoleMapper {
    int delete(String custRoleId);

    int insert(CustRoleDO record);

    int update(CustRoleDO record);

    List<CustRoleDO> queryCustRoleList(CustRoleDO queryDO);

    List<CustCountDO> querySumByCustomIds(@Param("customIds") List<String> customIds);

}